import { defHttp } from '/@/utils/http/axios';

enum Api {
  sysLogList = '/api-log/sysLog',
  traceLogList = '/api-log/traceLog',
}

/**
 * 系统日志信息
 */
export const getSysLogList = (params) => {
  return defHttp.get({ url: Api.sysLogList, params });
};

/**
 * 追踪信息
 */
export const getTraceLogList = (params) => {
  return defHttp.get({ url: Api.traceLogList, params });
};
